number = 23
running = True

while running:
    guess = int(input("请输入一个数: "))

    if guess == number:
        print("您输入的数和我们的相同")
        running=False
    elif guess < number:
        print("您输入的数比我们的小")
    else:
        print("您输入的数比我们的大")
else:
    print("谢谢参与")
print("游戏结束了")